<template>
	<view class="fixed-btn" @click="to">
		新人必读
	</view>
</template>

<script>
	export default {
		name: "fixedBtn",
		data() {
			return {
				
			};
		},
		methods:{
			to(){
				uni.navigateTo({
					url:`/pages/custom/custom?flag=新人必读&target=www.baidu.com`
				})
			}
		}
	}
</script>

<style lang="scss">
	.fixed-btn {
		position: fixed;
		bottom: 200rpx;
		z-index: 999;
		right: 0;
		border-radius: 40rpx 0 0 40rpx;
		background-color: $primaryColor;
		color: #FFFFFF;
		padding: 15rpx 20rpx;
		opacity: .9;

	}
</style>
